<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Orange &mdash; Free Website Template, Free HTML5 Template by FreeHTML5.co</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Free HTML5 Website Template by FreeHTML5.co" />
    <meta name="keywords" content="free website templates, free html5, free template, free bootstrap, free website template, html5, css3, mobile first, responsive" />

    <!-- Facebook and Twitter integration -->
    <meta property="og:title" content=""/>
    <meta property="og:image" content=""/>
    <meta property="og:url" content=""/>
    <meta property="og:site_name" content=""/>
    <meta property="og:description" content=""/>
    <meta name="twitter:title" content="" />
    <meta name="twitter:image" content="" />
    <meta name="twitter:url" content="" />
    <meta name="twitter:card" content="" />

    <link href='https://fonts.googleapis.com/css?family=Work+Sans:400,300,600,400italic,700' rel='stylesheet' type='text/css'>
    <link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700" rel="stylesheet">

    <!-- Animate.css -->
    <link rel="stylesheet" href="__CSS__/index/animate.css">
    <!-- Icomoon Icon Fonts-->
    <link rel="stylesheet" href="__CSS__/index/icomoon.css">
    <!-- Bootstrap  -->
    <link rel="stylesheet" href="__CSS__/index/bootstrap.css">
    <!-- Theme style  -->
    <link rel="stylesheet" href="__CSS__/index/style.css">
    <!-- Modernizr JS -->
    <script src="__JS__/index/modernizr-2.6.2.min.js"></script>
    <!-- FOR IE9 below -->
    <!--[if lt IE 9]>
    <script src="__JS__/index/respond.min.js"></script>
    <![endif]-->
    <script src="__JS__/jquery-1.8.3.min.js"></script>
    <script src="__JS__/layer/layer.js"></script>

</head>
<body>
<div class="fh5co-loader"></div>
<div id="page">
    <nav class="fh5co-nav" role="navigation">
        <div class="container">
            <div class="row">
                <div class="left-menu text-right menu-1">
                    <ul>
                        <li class="has-dropdown">
                            <a href="{:url('Services/index')}">旅行吧、骚年！</a>
                            <ul class="dropdown">
                                <li><a href="{:url('Tourism/tourism')}">景点</a></li>
                                <li><a href="{:url('Tourism/tourism_route')}">路线</a></li>
                                <li><a href="{:url('Tourism/tourism_guide')}">导游</a></li>
                                <li><a href="{:url('Tourism/agritainment')}">农家乐</a></li>
                            </ul>
                        </li>
                        <li class="has-dropdown">
                            <a href="{:url('Hotel/index')}">酒店</a>
                            <ul class="dropdown">
                                <li><a href="#">国内</a></li>
                                <li><a href="#">国际</a></li>
                            </ul>
                        </li>
                        <li><a href="{:url('Specialty/index')}">吃货世界</a></li>
                    </ul>
                </div>
                <div class="logo text-center">
                    <div id="fh5co-logo"><a href="{:url('Index/index')}">坪行網</a></div>
                </div>
                <div class="right-menu text-left menu-1">
                    <ul>
                        <li><a href="http://www.12306.cn/mormhweb/">在线票务</a></li>
                        <li><a href="{:url('About/index')}">关于我们</a></li>
                        <li><a href="{:url('Personal/index')}">个人中心</a></li>
                        <li>
                            {$username}
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </nav>
    <header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner">
        <div class="overlay"></div>
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2 text-center">
                    <div class="display-t">
                        <div class="display-tc animate-box" data-animate-effect="fadeIn">
                            <h1>吃货 世界</h1>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
        <div class="container">
            <table class="table">
                <caption>订单详情</caption>
                <thead>
                <tr>
                    <th>商品</th>
                    <th>数量</th>
                    <th>小计</th>
                </tr>
                </thead>
                {volist name="list" id="value"}
                <tbody>
                <tr>
                    <td>{$value.shangping.name}</td>
                    <td>{$value.order_quantity}</td>
                    <td>{$value.shangping.xiaoji}</td>
                </tr>
                </tbody>
                {/volist}
                <tr><th>总价</th><td>{$zongjia}</td></tr>
                <tr><th>运费</th><td>免运费</td></tr>
                <tr><th>订单详情</th><td>{$time}</td></tr>
            </table>

            <div class="row">
                <div class="col-md-5 col-xs-5 " style="margin-left: 0.8rem;">
                    <input type="submit" name="Submit" onclick="shop('{$time}','{$zongjia}')" value="下单" style="width:5rem;height: 3.5rem;background-color: orange;color: white">
                </div>
            </div>
            <hr/>
        </div>
</div>

    <div id="fh5co-started">
        <div class="container">
            <div class="row animate-box">
                <div class="col-md-8 col-md-offset-2 text-center fh5co-heading">
                    <h2>Lets Get Started</h2>
                    <p>Dignissimos asperiores vitae velit veniam totam fuga molestias accusamus alias autem provident. Odit ab aliquam dolor eius.</p>
                </div>
            </div>
            <div class="row animate-box">
                <div class="col-md-8 col-md-offset-2">
                    <form class="form-inline">
                        <div class="col-md-6 col-md-offset-3 col-sm-6">
                            <button type="submit" class="btn btn-default btn-block">Get In Touch</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <footer id="fh5co-footer" role="contentinfo">
        <div class="container">
            <div class="row row-pb-md">
                <div class="col-md-2 col-sm-4 col-xs-6">
                    <ul class="fh5co-footer-links">
                        <li><a href="#">About</a></li>
                        <li><a href="#">Help</a></li>
                        <li><a href="#">Contact</a></li>
                        <li><a href="#">Terms</a></li>
                        <li><a href="#">Meetups</a></li>
                    </ul>
                </div>

                <div class="col-md-2 col-sm-4 col-xs-6">
                    <ul class="fh5co-footer-links">
                        <li><a href="#">Shop</a></li>
                        <li><a href="#">Privacy</a></li>
                        <li><a href="#">Testimonials</a></li>
                        <li><a href="#">Handbook</a></li>
                        <li><a href="#">Held Desk</a></li>
                    </ul>
                </div>

                <div class="col-md-2 col-sm-4 col-xs-6">
                    <ul class="fh5co-footer-links">
                        <li><a href="#">Find Designers</a></li>
                        <li><a href="#">Find Developers</a></li>
                        <li><a href="#">Teams</a></li>
                        <li><a href="#">Advertise</a></li>
                        <li><a href="#">API</a></li>
                    </ul>
                </div>
                <div class="col-md-4 col-sm-12 col-xs-12 fh5co-widget col-md-push-1">
                    <h3>A Little About Orange</h3>
                    <p>Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.</p>
                    <p><a href="#">Learn More</a></p>
                </div>
            </div>

            <div class="row copyright">
                <div class="col-md-12 text-center">
                    <p>
                        <small class="block">&copy; 2016 Free HTML5. All Rights Reserved.More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></small> <small class="block"></small>
                    </p>
                    <p>
                    <ul class="fh5co-social-icons">
                        <li><a href="#"><i class="icon-twitter"></i></a></li>
                        <li><a href="#"><i class="icon-facebook"></i></a></li>
                        <li><a href="#"><i class="icon-linkedin"></i></a></li>
                        <li><a href="#"><i class="icon-dribbble"></i></a></li>
                    </ul>
                    </p>
                </div>
            </div>

        </div>
    </footer>
</div>

<div class="gototop js-top">
    <a href="#" class="__JS__/index-gotop"><i class="icon-arrow-up"></i></a>
</div>

<!-- jQuery -->
<script src="__JS__/index/jquery.min.js"></script>
<!-- jQuery Easing -->
<script src="__JS__/index/jquery.easing.1.3.js"></script>
<!-- Bootstrap -->
<script src="__JS__/index/bootstrap.min.js"></script>
<!-- Waypoints -->
<script src="__JS__/index/jquery.waypoints.min.js"></script>
<!-- Main -->
<script src="__JS__/index/main.js"></script>
<script src="__JS__/distpicker.data.js"></script>
<script src="__JS__/distpicker.js"></script>
<script src="__JS__/main.js"></script>
<script src="__JS__/jquery.datetimepicker.js"></script>
</body>
</html>
<script>
    a="{:url('Specialty/index')}";
    function shop(dingdanghao,zongjia){
        $.ajax({
            url:"{:url('Specialty/shopbay')}",
            dataType:"text",
            type:"post",
            data:{
                dingdanhao: dingdanghao,
                zongjia:zongjia
            },
            success:function(data){
              if(data=="true"){
                  alert("下单成功");
                  window.location.href=a;
              }else{
                  alert("下单失败")
              }
            }



        })


    }



</script>